
<?php $this->Js->get('#khoa')->event('change',
							$this->Js->request(array('controller' => 'moncds', 'action' => 'capnhatnganhcd'),
							array('update' => '#div_nganh','async' => true,
							'dataExpression' => true,'method' => 'post',
							'data' => $js->serializeForm(array('isForm' => false, 'inline' => true)))));?>
<?php $this->Js->get('#khoa')->event('change',
							$this->Js->request(array('controller' => 'moncds', 'action' => 'capnhatmoncd'),
							array('update' => '#div_noidung1','async' => true,
							'dataExpression' => true,'method' => 'post',
							'data' => $js->serializeForm(array('isForm' => false, 'inline' => true)))));?>
<?php $this->Js->get('#div_nganh')->event('change',
							$this->Js->request(array('controller' => 'moncds', 'action' => 'capnhatmoncd'),
							array('update' => '#div_noidung1','async' => true,
							'dataExpression' => true,'method' => 'post',
							'data' => $js->serializeForm(array('isForm' => false, 'inline' => true)))));?>
<?php $this->Js->get('#khoahoc')->event('change',
							$this->Js->request(array('controller' => 'moncds', 'action' => 'capnhatmoncd'),
							array('update' => '#div_noidung1','async' => true,
							'dataExpression' => true,'method' => 'post',
							'data' => $js->serializeForm(array('isForm' => false, 'inline' => true)))));?>
<div class="moncds index">
	<h2><?php __('Danh mục học phần chuyển đổi');?></h2>
	<?php echo $form->create('Ctdt', array('url'=>array('controller'=>'moncds', 'action'=>'luumoncd')));?>
	<table>
		<tr>
			<td><?php echo $form->input('khoa',array('id'=>'khoa','label'=>'Khoa','type'=>'select','options'=>$khoas,'selected'=>$khoa));?></td>
			<td><div id='div_nganh'><?php echo $form->input('nganh',array('id'=>'nganh','label'=>'Ngành','type'=>'select','options'=>$nganhs,'selected'=>$nganh));?></div></td>
			<td><div id='div_khoahoc'><?php echo $form->input('khoahoc',array('id'=>'khoahoc','label'=>'Khóa Học','type'=>'select','options'=>$khoahocs,'selected'=>$khoahoc));?></div></td>
			
		</tr>
		
	</table>
	<?php //echo $form->button('   Thực Hiện   ',array('id'=>'btn'));?>
	
<div id='div_noidung1'>
	<?php //echo $this->Form->input('listmonctdtcu', array('id'=>'listmonctdtcu','label'=>'Môn thuộc CTĐT cũ','type' => 'select', 'multiple' => 'multiple','options' =>$mons));?>
</div>
<?php echo $form->end('Lưu');?>
</div>